.js-enabled .nhsuk-header__navigation-list {margin-left: -5px;}
/* Contact Us: remove the white strip under the call-wait widgets */
.component-row.surgery-connect .component-thirdparty-integration {
  background-color: #dae9f8;
}
#maincontent {background: #dae9f8 !important;}
.nhsuk-header__container .nhsuk-organisation-descriptor.custom-text {font-weight: 300 !important;}
.surgery-connect .nhsuk-card__content {background: #dae9f8 !important; border: 1px solid #dae9f8 !important; margin-bottom: 0px !important;}
.surgery-connect .nhsuk-card {border: 1px solid #dae9f8 !important;}
.nhsuk-header--white .nhsuk-organisation-name {display: none !important;}
.nhsuk-header__container .nhsuk-header__logo {min-height: 120px;}
.nhsuk-header--organisation .nhsuk-header__logo .nhsuk-logo {height: 175px !important; width: 170px !important;}
.nhsuk-header--white .nhsuk-search__submit {background-color: #e97132 !important;}
.tasks-menu .nhsuk-card, .tasks-menu .nhsuk-card__content {background-color: #0393a1 !important;}
.nhsuk-footer-container {border-top: 4px solid #e97132;}
.nhsuk-header--white .nhsuk-navigation-container {background-color: #185ec9 !important;}
.nhsuk-header__navigation-link {font-size: 18px;}
h1, h2, h3, h4, h5, h6,
p, a, li, div,
.divTable {
  font-family: Calibri, Carlito, 'Segoe UI', Arial, sans-serif !important;
}

h1, h2, h3 {font-color: #3F758A !important;}

.nhsuk-header__container .nhsuk-organisation-descriptor.custom-text {font-size: 1.25em; font-family: Calibri, Carlito, 'Segoe UI', Arial, sans-serif !important;}


/* Surgery connect widgets */
:is(#ThirdPartyIntegrationComponent_30,
    #ThirdPartyIntegrationComponent_31,
    #ThirdPartyIntegrationComponent_32,
    #ThirdPartyIntegrationComponent_33,
    #ThirdPartyIntegrationComponent_34,
    #ThirdPartyIntegrationComponent_35) > div > div > div {
    width: 100% !important;
    height: 115px !important;
    padding-top: 10px !important;
    margin-top: 20px !important;
}

:is(#ThirdPartyIntegrationComponent_30,
    #ThirdPartyIntegrationComponent_31,
    #ThirdPartyIntegrationComponent_32,
    #ThirdPartyIntegrationComponent_33,
    #ThirdPartyIntegrationComponent_34,
    #ThirdPartyIntegrationComponent_35) > div > div > div > div:last-child {
    padding-top: 6px !important;
}


/* facebook logo */

/* Facebook icon in the header, to the left of the translate link */
footer ul.nhsuk-footer__list.social-media {
  position: absolute;
  top: 28px;
  left: auto;
  right: 58px; /* mobile: left of the translate icon */
  width: max-content;
  height: 24px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  z-index: 10;
}
footer ul.nhsuk-footer__list.social-media .social-media-heading {
  display: none;
}
footer ul.nhsuk-footer__list.social-media li {
  margin: 0;
  padding: 0;
}
footer ul.nhsuk-footer__list.social-media a {
  display: flex;
  line-height: 0;
}
footer ul.nhsuk-footer__list.social-media svg {
  width: 32px;
  height: 32px;
  fill: #005eb8;
}
footer ul.nhsuk-footer__list.social-media a:hover svg {
  fill: #003087;
}
/* tablet: search box sits to the right of the translate icon */
@media (min-width: 40.0625em) {
  footer ul.nhsuk-footer__list.social-media { right: 334px; }
}
@media (min-width: 48.0625em) {
  footer ul.nhsuk-footer__list.social-media { right: 369px; }
}
/* 990px and up: "Language" label shows, header centred at 1170px */
@media (min-width: 990px) {
  footer ul.nhsuk-footer__list.social-media { right: max(456px, calc(50% - 161px)); }
}

/* Facebook and Instagram in their own brand colours */
footer ul.nhsuk-footer__list.social-media a[href*="facebook"] svg {
  fill: #0866ff;
}
footer ul.nhsuk-footer__list.social-media a[href*="facebook"]:hover svg {
  fill: #0553cc;
}
footer ul.nhsuk-footer__list.social-media a[href*="instagram"] svg {
  fill: #e4405f;
}
footer ul.nhsuk-footer__list.social-media a[href*="instagram"]:hover svg {
  fill: #c13584;
}

/* NHS Logo */
/* Image in the bottom right of the header, under the search */
.nhsuk-header__container {
  position: relative;
}
.nhsuk-header__container::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 12px;
  width: 80px;
  height: 35px;
  background: url("/chunks/node_modules/domain/G81036/Image/a3786b87-7cc9-4bd1-97bb-4547a16e49f2.JPG") no-repeat right bottom / contain;
  pointer-events: none;
}
/* mobile: above the strapline and search instead */
@media (max-width: 40.0525em) {
  .nhsuk-header__container::after {
    display: none;
  }
  .nhsuk-header__container > .custom-text.nhsuk-organisation-descriptor::before {
    content: "";
    display: block;
    height: 35px;
    margin: 0 0 12px;
    background: url("/chunks/node_modules/domain/G81036/Image/a3786b87-7cc9-4bd1-97bb-4547a16e49f2.JPG") no-repeat right center / contain;
  }
}

/*end of nhs logo */

/*telephone number */

/* NHS image and practice details on the right of the header */
.nhsuk-header__container {
  position: relative;
}
.nhsuk-header__container::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 39px;
  width: 80px;
  height: 35px;
  background: url("/chunks/node_modules/domain/G81036/Image/a3786b87-7cc9-4bd1-97bb-4547a16e49f2.JPG") no-repeat right bottom / contain;
  pointer-events: none;
}
.nhsuk-header__container .nhsuk-header__logo > .nhsuk-organisation-descriptor {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: auto;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}
/* keeps the strapline clear of the practice details on tablets */
.nhsuk-header__container > .custom-text.nhsuk-organisation-descriptor {
  padding-right: 285px;
}

/* NHS image and practice details on the right of the header */
.nhsuk-header__container {
  position: relative;
}
.nhsuk-header__container::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 39px;
  width: 80px;
  height: 35px;
  background: url("/chunks/node_modules/domain/G81036/Image/a3786b87-7cc9-4bd1-97bb-4547a16e49f2.JPG") no-repeat right bottom / contain;
  pointer-events: none;
}
.nhsuk-header__container .nhsuk-header__logo > .nhsuk-organisation-descriptor {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: auto;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}
.nhsuk-header__container .nhsuk-header__logo > .nhsuk-organisation-descriptor,
.nhsuk-header__container .nhsuk-header__logo > .nhsuk-organisation-descriptor .nhsuk-practice-details {
  font-family: Calibri, Carlito, Arial, sans-serif;
}
/* keeps the strapline clear of the practice details on tablets */
.nhsuk-header__container > .custom-text.nhsuk-organisation-descriptor {
  padding-right: 285px;
}

/* mobile: NHS image and details under the logo, above the strapline */
@media (max-width: 40.0525em) {
  .nhsuk-header__container::after,
  .nhsuk-header__container > .custom-text.nhsuk-organisation-descriptor::before {
    display: none !important;
  }
  .nhsuk-header__container .nhsuk-header__logo {
    min-width: 0;
    max-width: calc(100% - 42px);
  }
  .nhsuk-header__container .nhsuk-header__logo > .nhsuk-organisation-descriptor {
    position: static;
    width: calc(100vw - 32px);
    max-width: none;
    margin: -30px 0 12px;
    white-space: normal;
  }
  .nhsuk-header__container .nhsuk-header__logo > .nhsuk-organisation-descriptor::before {
    content: "";
    display: block;
    height: 35px;
    margin: 0 0 6px;
    background: url("/chunks/node_modules/domain/G81036/Image/a3786b87-7cc9-4bd1-97bb-4547a16e49f2.JPG") no-repeat right center / contain;
  }
  .nhsuk-header__container > .custom-text.nhsuk-organisation-descriptor {
    padding-right: 0;
  }
}

@media (max-width: 40.0525em) {
  .nhsuk-header__container > .custom-text.nhsuk-organisation-descriptor {
    text-align: center;
  }
}

.nhsuk-header__container > .custom-text.nhsuk-organisation-descriptor {
  font-style: italic;
}




